let myJD = document.getElementById('myJD')
let myJDcontente = document.getElementById('myJDcontent')
// myJD.onmouseover = () => {
//     // alert('hha')

  

// }
// myJD.onmouseout = () => {
//     myJDcontente.style.display = 'none'
// }

// myJD.addEventListener('mouseover',function() {
//     alert(1)
// })

addEvent(myJD,'mouseover',()=>{
    myJDcontente.style.display = 'initial'
})


addEvent(myJD,'mouseout',()=>{
    myJDcontente.style.display = 'none'
})

function addEvent(el,type,callback) {
    el.addEventListener(type,callback)
}